package com.zhehekeji.opsys.api.resp;

import java.io.Serializable;
import java.util.List;

import javax.xml.bind.annotation.XmlRootElement;

import org.apache.commons.lang.StringUtils;

import com.zhehekeji.opsys.api.common.util.SuperResp;

@XmlRootElement
public class DateReportButtonLogListResp extends SuperResp {
	private static final long serialVersionUID = -1132872545185574808L;
	
	private Integer recordSize;
	 
	private List<TVisitLogInfoButton> tvLogInfos;
	
	public static class TVisitLogInfoButton extends TVisitLogInfo implements Serializable {

		/**
		 * 
		 */
		private static final long serialVersionUID = -5007067418408206654L;
		
		private String buttonIdentity;
	    private String buttonName;
		public String getButtonIdentity() {
			return buttonIdentity;
		}
		public void setButtonIdentity(String buttonIdentity) {
			if(StringUtils.isBlank(buttonIdentity)) {
				this.buttonIdentity = "";
			}else {
				this.buttonIdentity = buttonIdentity;
			}
			
		}
		public String getButtonName() {
			return buttonName;
		}
		public void setButtonName(String buttonName) {
			if(StringUtils.isBlank(buttonName)) {
				this.buttonName = "";
			}else {
				this.buttonName = buttonName;
			}
			
		}
	    
	}

	public Integer getRecordSize() {
		return recordSize;
	}

	public void setRecordSize(Integer recordSize) {
		this.recordSize = recordSize;
	}

	public List<TVisitLogInfoButton> getTvLogInfos() {
		return tvLogInfos;
	}

	public void setTvLogInfos(List<TVisitLogInfoButton> tvLogInfos) {
		this.tvLogInfos = tvLogInfos;
	}

	
}
